#!/usr/bin/env python
import random
import math


def b_randomint(a,b):
    print (random.randint(0,9))

def b_random(a,b):
    print(random.random())

def b_pi(a,b):
    print(math.pi)

def b_pie(a,b):
    print('''
()()()()()()
|\\         |
|.\\. . . . |
\\'.\\       |
 \\.:\\ . . .|
  \\'o\\     |
   \\.'\\. . |
    \\".\\   |
     \\'`\\ .|
      \\.'\\ |
       \\__\\|''')

TRIGGERS = {
            "randint":b_randomint,
            "randomint":b_randomint,
            "random":b_random,
            "rand":b_random,
            "pi":b_pi,
            "pie":b_pie,
            }